home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mission to McDonaldLand
/
Mission To McDonaldLand.iso
/
code.cst
/
00057_Script_ob3 special
< prev
next >
Wrap
Text File
|
1998-10-29
|
1KB
|
49 lines
on mouseDown
global objects
global castrestore
global restoration
global nomore
global soundstuff2
global fixit
if objects = 2 then
puppetSound 1, the castnum of sprite 13 + 2
set the member of sprite 11 = "blank"
set the member of sprite 12 = "blank"
set the member of sprite 13 = "blank"
set the member of sprite 56 = "COB3"
set the member of sprite 16 = "bench"
set objects = 3
else
puppetSound 1, the castnum of sprite 13 + 1
set the member of sprite restoration = castrestore
set castrestore = the castnum of sprite 17
set restoration = 17
set the member of sprite 17 = the castnum of sprite 17 - 1
set nomore = 1
set soundstuff2 = 1
end if
if objects = 1 then
puppetSound "notools"
set the member of sprite 56 = "blank"
set the member of sprite 16 = "onbench"
set the member of sprite restoration = castrestore
set castrestore = the castnum of sprite 17
set restoration = 17
set the member of sprite 17 = the castnum of sprite 17 - 1
set nomore = 1
set soundstuff2 = 1
set fixit = 1
end if
end
on enterFrame me
global castrestore
global restoration
global soundstuff2
if SoundBusy(1) = FALSE and soundstuff2 = 1 then
set the member of sprite restoration = castrestore
set soundstuff2 = 0
end if
end